#!bin/bash
echo '======================='
echo 'Script for testing Grades.jar'
echo 'TestCase 1'
echo 'Testing for grade 60/60'
echo 'Expected output: Pass'
echo 'Actual Output'
java -jar Grades.jar 60 60
echo '======================='
echo ' Test Case 2'
echo 'Testing for grade 35/35'
echo 'Expected output: Component Fail'
echo 'Actual Ouput'
java -jar Grades.jar 35 35
echo '======================='
echo 'Test Case 3'
echo 'Testing for grade 40/40'
echo 'Expected output: Fail'
echo 'Actual Ouput'
java -jar Grades.jar 40 40
echo '======================='
echo ' Test Case 4'
echo 'Testing for grade 90/90'
echo 'Expected output: Pass With distinction'
echo 'Actual Ouput'
java -jar Grades.jar 90 90
echo '======================='
echo 'Test Case 5'
echo 'Testing for grade 55/55'
echo 'Expected output: Pass'
echo 'Actual Ouput'
java -jar Grades.jar 55 55

